Kezdőlap › Fórumok › Ubuntu Linux › postfix levélküldés kliensből
- This topic has 70 hozzászólás, 9 résztvevő, and was last updated 17 years, 1 months telt el by
admin.
-
SzerzőBejegyzés
-
2008-05-28-15:44 #2157885
Névtelen
Szerintem az a relayhost = mail.domainem.hu sort kommenteld ki az /etc/postfix/main.cf fájlból. Elméletileg akkor mennie kell. Mert a te beállításaiddal visszahurkoltad a saját szerveredre, aminek nem sok értelme van.
2008-05-28-15:44 #2157886Névtelen
Szerintem az a relayhost = mail.domainem.hu sort kommenteld ki az /etc/postfix/main.cf fájlból. Elméletileg akkor mennie kell. Mert a te beállításaiddal visszahurkoltad a saját szerveredre, aminek nem sok értelme van.
2008-05-28-17:25 #2157887Úgy már próbáltam, de valami angol howto az emlegette, hogy azt állítsam be, valószínüleg félreértettem valamit, tehát így:
Code:backup:~# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
mailbox_command = procmail -a „$EXTENSION”
mailbox_size_limit = 0
myhostname = backup
mynetworks =
recipient_delimiter = +
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf,mysql:/etc/postfix/mysql-email2email.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_transport = dovecot
backup:~#Code:May 28 21:10:16 backup postfix/master[11336]: terminating on signal 15
May 28 21:10:16 backup postfix/master[11477]: daemon started — version 2.3.8, configuration /etc/postfix
May 28 21:10:55 backup postfix/smtpd[11499]: connect from domainem.hu[127.0.0.1]
May 28 21:11:09 backup dovecot: auth-worker(default): mysql: Connected to 127.0.0.1 (mailserver)
May 28 21:11:20 backup postfix/smtpd[11499]: 4DA257C8216: client=domainem.hu[127.0.0.1], sasl_method=plain, sasl_username=pomm@domainem.hu
May 28 21:11:28 backup postfix/cleanup[11506]: 4DA257C8216: message-id=
May 28 21:11:28 backup postfix/qmgr[11483]: 4DA257C8216: from=, size=329, nrcpt=1 (queue active)
May 28 21:11:29 backup identd[11508]: started
May 28 21:11:29 backup postfix/smtp[11507]: 4DA257C8216: to=, relay=mail.valami.hu[0.0.0.0]:25, delay=15, delays=14/0.01/1.2/0.1, dsn=5.0.0, status=bounced (host mail.valami.hu[0.0.0.0] said: 550-Verification failed for 550-No Such User Here 550 Sender verify failed (in reply to RCPT TO command))May 28 21:11:29 backup postfix/cleanup[11506]: 7B36C7C8218: message-id=
May 28 21:11:29 backup postfix/qmgr[11483]: 7B36C7C8218: from=, size=2209, nrcpt=2 (queue active)
May 28 21:11:29 backup postfix/bounce[11515]: 4DA257C8216: sender non-delivery notification: 7B36C7C8218
May 28 21:11:29 backup postfix/qmgr[11483]: 4DA257C8216: removed
May 28 21:11:29 backup postfix/pipe[11516]: 7B36C7C8218: to=, relay=dovecot, delay=0.03, delays=0.01/0.01/0/0.01, dsn=2.0.0, status=sent (delivered via dovecot service)
May 28 21:11:30 backup postfix/smtpd[11499]: disconnect from domainem.hu[127.0.0.1]
May 28 21:11:33 backup postfix/smtp[11507]: 7B36C7C8218: to=, orig_to=, relay=gmail-smtp-in.l.google.com[209.85.129.27]:25, delay=4.2, delays=0.01/0/0.07/4.1, dsn=2.0.0, status=sent (250 2.0.0 OK 1211994670 c28si27067703fka.4)May 28 21:11:33 backup postfix/qmgr[11483]: 7B36C7C8218: removed
2008-05-28-17:25 #2157888Úgy már próbáltam, de valami angol howto az emlegette, hogy azt állítsam be, valószínüleg félreértettem valamit, tehát így:
Code:backup:~# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
mailbox_command = procmail -a „$EXTENSION”
mailbox_size_limit = 0
myhostname = backup
mynetworks =
recipient_delimiter = +
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf,mysql:/etc/postfix/mysql-email2email.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_transport = dovecot
backup:~#Code:May 28 21:10:16 backup postfix/master[11336]: terminating on signal 15
May 28 21:10:16 backup postfix/master[11477]: daemon started — version 2.3.8, configuration /etc/postfix
May 28 21:10:55 backup postfix/smtpd[11499]: connect from domainem.hu[127.0.0.1]
May 28 21:11:09 backup dovecot: auth-worker(default): mysql: Connected to 127.0.0.1 (mailserver)
May 28 21:11:20 backup postfix/smtpd[11499]: 4DA257C8216: client=domainem.hu[127.0.0.1], sasl_method=plain, sasl_username=pomm@domainem.hu
May 28 21:11:28 backup postfix/cleanup[11506]: 4DA257C8216: message-id=
May 28 21:11:28 backup postfix/qmgr[11483]: 4DA257C8216: from=, size=329, nrcpt=1 (queue active)
May 28 21:11:29 backup identd[11508]: started
May 28 21:11:29 backup postfix/smtp[11507]: 4DA257C8216: to=, relay=mail.valami.hu[0.0.0.0]:25, delay=15, delays=14/0.01/1.2/0.1, dsn=5.0.0, status=bounced (host mail.valami.hu[0.0.0.0] said: 550-Verification failed for 550-No Such User Here 550 Sender verify failed (in reply to RCPT TO command))May 28 21:11:29 backup postfix/cleanup[11506]: 7B36C7C8218: message-id=
May 28 21:11:29 backup postfix/qmgr[11483]: 7B36C7C8218: from=, size=2209, nrcpt=2 (queue active)
May 28 21:11:29 backup postfix/bounce[11515]: 4DA257C8216: sender non-delivery notification: 7B36C7C8218
May 28 21:11:29 backup postfix/qmgr[11483]: 4DA257C8216: removed
May 28 21:11:29 backup postfix/pipe[11516]: 7B36C7C8218: to=, relay=dovecot, delay=0.03, delays=0.01/0.01/0/0.01, dsn=2.0.0, status=sent (delivered via dovecot service)
May 28 21:11:30 backup postfix/smtpd[11499]: disconnect from domainem.hu[127.0.0.1]
May 28 21:11:33 backup postfix/smtp[11507]: 7B36C7C8218: to=, orig_to=, relay=gmail-smtp-in.l.google.com[209.85.129.27]:25, delay=4.2, delays=0.01/0/0.07/4.1, dsn=2.0.0, status=sent (250 2.0.0 OK 1211994670 c28si27067703fka.4)May 28 21:11:33 backup postfix/qmgr[11483]: 7B36C7C8218: removed
2008-05-28-18:08 #2157889Névtelen
Nálam ilyenek vannak beállítva, és megy szépen:
Code:biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_alias_domains = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = pc1.mobillan-sat.hu
program_directory = /usr/lib/postfix
masquerade_domains =
mydestination = $myhostname, localhost.$mydomain, $mydomain, /etc/postfix/domains.list
mynetworks = /etc/postfix/mynetworks.list
defer_transports =
disable_dns_lookups = no
mailbox_command =
mailbox_transport =
strict_8bitmime = no
disable_mime_output_conversion = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination
smtp_sasl_auth_enable = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
myorigin = $mydomain
disable_vrfy_command = yes
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,
reject_non_fqdn_hostname,
reject_invalid_hostname,
permit
smtpd_error_sleep_time = 1s
smtpd_soft_error_limit = 10
smtpd_hard_error_limit = 20
header_checks = regexp:/etc/postfix/header_checksIgaz nincs benne mysql, sasl, ssl.
2008-05-28-18:08 #2157890Névtelen
Nálam ilyenek vannak beállítva, és megy szépen:
Code:biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_alias_domains = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = pc1.mobillan-sat.hu
program_directory = /usr/lib/postfix
masquerade_domains =
mydestination = $myhostname, localhost.$mydomain, $mydomain, /etc/postfix/domains.list
mynetworks = /etc/postfix/mynetworks.list
defer_transports =
disable_dns_lookups = no
mailbox_command =
mailbox_transport =
strict_8bitmime = no
disable_mime_output_conversion = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination
smtp_sasl_auth_enable = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
myorigin = $mydomain
disable_vrfy_command = yes
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,
reject_non_fqdn_hostname,
reject_invalid_hostname,
permit
smtpd_error_sleep_time = 1s
smtpd_soft_error_limit = 10
smtpd_hard_error_limit = 20
header_checks = regexp:/etc/postfix/header_checksIgaz nincs benne mysql, sasl, ssl.
2008-05-28-19:19 #2157891A másik szerveren most csináltam meg, ott megy rendben, ( de nekem kell a mysql, sasl, ssl…) most vagy az a q…va dns nem frissült megint le vagy én gépeltem el valamit….
Azért köszi!2008-05-28-19:19 #2157892A másik szerveren most csináltam meg, ott megy rendben, ( de nekem kell a mysql, sasl, ssl…) most vagy az a q…va dns nem frissült megint le vagy én gépeltem el valamit….
Azért köszi!2008-05-28-20:33 #2157893pomm wrote:A másik szerveren most csináltam meg, ott megy rendben, ( de nekem kell a mysql, sasl, ssl…) most vagy az a q…va dns nem frissült megint le vagy én gépeltem el valamit….
Azért köszi!Ha a dns nem frissül, még elmegy a levél.
Legfeljebb kapsz egy mailer-daemon üzit, hogy
miért nem fogadta el a címzett a leveled! 🙂” én gépeltem el valamit.”
posconf -n > main.cf.txt
Ezt mellékeld! 🙂2008-05-28-20:33 #2157894pomm wrote:A másik szerveren most csináltam meg, ott megy rendben, ( de nekem kell a mysql, sasl, ssl…) most vagy az a q…va dns nem frissült megint le vagy én gépeltem el valamit….
Azért köszi!Ha a dns nem frissül, még elmegy a levél.
Legfeljebb kapsz egy mailer-daemon üzit, hogy
miért nem fogadta el a címzett a leveled! 🙂” én gépeltem el valamit.”
posconf -n > main.cf.txt
Ezt mellékeld! 🙂 -
SzerzőBejegyzés
- Be kell jelentkezni a hozzászóláshoz.
legutóbbi hsz