Hi

I am using the following fetchmail command to download mails for past many months as a cron job.

/usr/bin/fetchmail  -v --smtphost  localhost/24 --lmtp

I dont exactly remember why I am using port 24 to deliver rather than default 25.

I am having 2 domains to download mails and deliver. Have put these in
/etc/postfix/transport as

MyNewCompany.com     dbmail-lmtp:localhost:24
MyOldCompany.com  dbmail-lmtp:localhost:24

We are not sending mails from MyOldCompany.com anymore, but still getting a few mails in that domain. I have aliased all the second domain ids to the first ones (MyNewCompany.com) in dbmail.

One advantage i remember when using port 24 with fetchmail is that most spam / mailing list mails are rejected by dbmail. This is good for official mails. But now I want to get the mailing lists mails as well.

What could be happening ?

regards

Nataraj





The following is my postfconf .


Postfix 2.3

#postconf -n

command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
disable_dns_lookups = yes
html_directory = no
inet_interfaces = all
local_recipient_maps =
mail_owner = postfix
mailbox_transport = dbmail-lmtp:localhost:24
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = gsis.ac.in
myhostname = ghost.gsis.ac.in
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = $mydestination
sample_directory = /etc/postfix
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_generic_maps = hash:/etc/postfix/generic
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
smtp_sender_dependent_authentication = yes
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550

Reply via email to